<template>
  <a-card :bordered="false">
    <a-tabs default-active-key="1" @change="callback">
      <a-tab-pane key="1" tab="列表">
        <UserAnnouncementList></UserAnnouncementList>
      </a-tab-pane>
      <a-tab-pane key="2" tab="日历">
        <Schedule class="scheduleBox" ref="scheduleId" />
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<script>
import Schedule from '@/views/sjsk/modules/Schedule'
import UserAnnouncementList from "@/views/system/UserAnnouncementList";
import UserModal from "@views/system/UserModal";
export default {
  name: "UserAnnouncementTab",
  components:{UserAnnouncementList,UserModal,Schedule},
  methods:{
    callback(key) {
      console.log(key);
    },
  }
}
</script>

<style scoped>
.scheduleBox {
  flex: 3;
  margin-left: 20px;
  padding-right: 20px;
}
</style>